package org.nf.shopping.service;

import com.github.pagehelper.PageInfo;
import org.nf.shopping.entity.User;

import java.util.List;

/**
 * @Author czl
 * @Date 2024-12-18
 */
public interface UserService {
    PageInfo<User> listUser(Integer pageSize, Integer pageNum, String name);

    void updateUser(User user);

    void deloneUser(Integer id);

    void addUser(User user);

    List<User> getUserList();
}
